package com.itheima.springboottilasmanager.survice;

import com.itheima.springboottilasmanager.pojo.domain.Dept;

import java.util.List;

public interface DeptSurvice {
//    List<Dept> findall();
//    boolean deleteDepts(Integer id);
//    boolean addDepts(Dept dept);
//    boolean updateDepts(Dept dept);
//    Dept selectCount( Integer id);

    void remove(Integer id);
   Boolean saveByID(Dept dept);

    List<Dept> findall();

    boolean updateDepts(Dept d1);

    Dept selectCount(Integer id);
}
